#pragma  once
#include <memory>
#include<string>

#include "pde_export.h"
#include "glm/vec3.hpp"
#include "pdeVolume.h"

namespace pde {
	class pde_export Roi {
	public:
		static std::shared_ptr<Roi> New();
		Roi();
		~Roi();
		bool to_file(const std::string& fn);
		bool from_file(const std::string& fn);

		SetGetMacro(int, type); //(1=OAR, 2=PTV, 3=CTV, 4=GTV, 5=EXTERNAL)
		SetGetMacro(std::shared_ptr<VolumeUChar>, mask);
		SetGetMacro(int, number);
		SetGetMacro(std::string, name);

	};
}
